<!doctype html>
<html>
	<head>
		<title> <!--{foreach $title $k $v}-->{$v['text']}_<!--{/foreach}-->{$sinfo['inf_name']}<</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<meta name="keywords" content="{$pro['pro_name']},{:implode(',',$pro['pro_keywords'])}" />
		<meta name="description" content="{$pro['content']|150}" />
		<link href="{themes}/css/theme.css" rel="stylesheet" type="text/css" />
		<link rel="alternate" type="application/rss+xml" title="RSS|{$sinfo['inf_name']}" href="{:parse_uri('index-feed|true')}" />
		<script src="{themes}/js/index.js"></script>
		<script src="{__PUBLIC__}/js/jquery-1.3.2.min.js"></script>
		<script src="{themes}/js/jqzoom.pack.1.0.1.js"></script>
		<script type="text/javascript">
			$(document).ready(function() {
				$("#previewLink").jqzoom();
			});
			</script>
	</head>
	<body>
		<div class="container">
			<!--{include top.html}-->
			<div class="page-main">
				<div class="left-bar">
					<h1 class="black-bg"><b>|</b> 产品类别</h1>
					<ul>
					{foreach $cates $k $v}
					<li><a href="{:parse_uri('pro-cat-id-%d|true',$v['Id'])}" class="tlink">{$v['cat_name']}</a></li>
						{foreach $v['sub'] $subk $subv}
							<li class='sub'>&nbsp;&nbsp;{if $subk === 0 && sizeof($v['sub'])!=1}┌{else if $subk == (sizeof($v['sub'])-1)}└{else}├{/if} <a href="{:parse_uri('pro-cat-id-%d|true',$subv['Id'])}" class='sub-tlink' >{$subv['cat_name']}</a></li>
						{/foreach}
					{/foreach}
					</ul>
					<!--{include searchBar.html}-->
				</div>
				<div class="right-bar">
					<h1 class="urhere"><b>|</b> <!--{include urhere.html}--></h1>
					<div class="pro-show">
						<div class="pro-image" id="pro-image">
							<a id="previewLink" href="{if $pro['pro_pic']}{__UPLOAD__}/{$pro['pro_pic']} {else}{themes}/images/nopic.gif{/if}" target="_blank" title="局部预览" ><img id="preview" border=0 src="{if $pro['pro_pic']}{__UPLOAD__}/{$pro['pro_pic']} {else}{themes}/images/nopic.gif{/if}" /></a>
						</div>
						<div class="pro-info">
							<h1 class="title">{$pro['pro_name']}</h1>
							<hr/>
							<p><span>类别:</span> <a href="{:parse_uri('pro-cat-id-%d',$pro['cat_id'])}" title="查看分类产品">{$pro['cat_name']}</a>
							<span>&nbsp;&nbsp;浏览:</span> {$views}</p>
							<p><span>价格:</span> <b>{$pro['pro_price']}</b> 
							<span>&nbsp;&nbsp;日期:</span> {:date('Y-m-d',$pro['pro_dateline'])}
							<a href="{:parse_uri('pro-album-t-1-id-%d',$pro['Id'])}" target="_blank" title="查看产品图册">查看图册</a></p>
							<div class="pro-image-thumb">
								<!--{foreach $pro['pics'] $k $v}-->
								<div class="image-box">
									<img onclick="viewImage(this,'preview')" style="cursor:hand;" src="{__UPLOAD__}/{:timg($v['pic'])}" alt="{$v['alb_des']}" title="{$v['alb_des']}"/>
								</div>
								<!--{/foreach}-->
								<div class="clear"></div>
							</div>
						</div>
						<div class="clear"  style="height:10px\0;"></div>
						
						<!--{if $pro['vod']}-->
						<div class="pro-content">
							<div class="title">视频展示</div>
							<div class="oldiv" style="text-align:center;padding:10px 0 20px 0;">
									<embed src="{$pro['vod']['v_swf']}" quality="high"  width="520" height="390" name="tech" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" invokeurls="false" allownetworking="internal" allowscriptaccess="never" />
							</div>
						</div>
						<!--{/if}--><!--

						<div class="pro-attr">
							<div class="title">产品属性</div>
							<div class="oldiv">
							<ol class="ol">
								{foreach $pro['attr']['key'] $k $v}
								<li {if ($k+1) % 2 === 0}class='pro-tr'{/if}>
									<span>{$v} :</span> {$pro['attr']['val'][$k]}
								</li>
							{/foreach}
							</ol>
							</div>
						</div>

						--><div class="pro-content">
							<div class="title">产品介绍</div>
							<div class="oldiv">
								{$pro['content']|html}
							</div>
						</div>
						<div>
						<div class="pro-nav">
							上一个 : 
							{if $pro['prev']} 
								<a href="{:parse_uri('pro-v-id-%d',$pro['prev']['Id'])}" title="{$pro['prev']['pro_keywords']}" class="tlink">{$pro['prev']['pro_name']}</a>
							{else}
								没有了
							{/if}
							&nbsp;&nbsp;&nbsp;&nbsp;
							下一个 :
							{if $pro['next']}
								<a href="{:parse_uri('pro-v-id-%d',$pro['next']['Id'])}" title="{$pro['next']['pro_keywords']}" class="tlink">{$pro['next']['pro_name']}</a>
							{else}
								没有了
							{/if} 
							</div>
						</div>
						<div class="clear"></div>
					</div>
					<div class="clear"></div>
					<!--{include bottom.html}-->
				</div>
			</div>
			<div class="clear" style="height:6px;"></div>
		</div>
	</body>
</html>